﻿@model string?
<h1>账号页面</h1>
<h2>登录状态： @if (Model != null)
          {
              @:"已登录"
              @:"用户名" @Model
          }
          else
          {
              @:"未登录"
          }
    </h2>
<div class="row">
    <div><a asp-controller="Account" asp-action="Logout">去注销</a></div>
    <div><a asp-controller="Account" asp-action="ChangePassword">修改密码</a></div>
</div>